package com.chen.positioning.recharge.service;

import com.chen.positioning.amountconfig.dao.AmountConfigMapper;
import com.chen.positioning.amountconfig.entity.AmountConfig;
import com.chen.positioning.recharge.dao.RechargeRecordMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author halo
 * @create 2019-08-24 11:45
 */
@Service
public class RechargeRecordService {
    private static final Logger logger = LoggerFactory.getLogger(RechargeRecordService.class);

    @Autowired
    RechargeRecordMapper rechargeRecordMapper;
    @Autowired
    AmountConfigMapper amountConfigMapper;

    public List<AmountConfig> findAmountConfigInfo() throws Exception {
//        return rechargeRecordMapper.selectAmountConfigInfo();
            return amountConfigMapper.selectAll();
    }
}
